# Contributor: Saijin-Naib <Saijin-Naib_package-maintenance@outlook.com>
# Maintainer: Saijin-Naib <Saijin-Naib_package-maintenance@outlook.com>
pkgname=orage
pkgver=4.16.0
pkgrel=0
pkgdesc="Calendar for Xfce"
url="https://docs.xfce.org/apps/orage/start"
arch="all"
license="GPL-2.0-or-later"
makedepends="
	dbus-dev
	dbus-glib-dev
	glib-dev
	gtk+3.0-dev
	libical-dev
	libnotify-dev
	libxfce4ui-dev
	popt-dev
	xfce4-dev-tools
	xfce4-panel-dev
	"
subpackages="$pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://gitlab.xfce.org/apps/orage/-/archive/orage-$pkgver/orage-orage-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgname-$pkgver/"

prepare() {
	default_prepare
	./autogen.sh
}

build() {
	make
}

check() {
	make check
}

package() {
	make install DESTDIR="$pkgdir" prefix=/usr
}

sha512sums="
fe8abe482fe61bd05a46c1497e99a080753f7accbd738a55210324d2e175a742c5630508b1da59ffed401f51a2b1b02ff4bcd3570ce9b4575919b921fc76b8a4  orage-4.16.0.tar.gz
"
